package com.warm.pump.module.skd.service;

import com.warm.pump.frame.gen.bean.PageBean;
import com.warm.pump.module.skd.bean.po.gen.ScheduleInstance;

import java.util.List;
import java.util.Map;

/**
 * skd_instance
 *
 */
public interface IScheduleInstanceService {

	ScheduleInstance queryObject(Long id);

   ScheduleInstance queryObject(Map<String, Object> map);

	List<ScheduleInstance> queryList(Map<String, Object> map);

    PageBean getPageBeanByMap(Map map, int pageNo, int pageSize);

    int queryTotal(Map<String, Object> map);

	void save(ScheduleInstance scheduleInstance);

	void update(ScheduleInstance scheduleInstance);

    void delete(Map<String, Object> map);
	void delete(Long id);

	void deleteBatch(Long[] ids);

    void run(Long[] ids);

	void completedInst(Long[] ids);
}
